package com.yjhb.android.sbz.v2.mvp

import com.yjhb.android.sbz.mvp.BasicsPresenter
import com.jojo.android.zxlib.base.mvp.BaseView
import com.jojo.android.zxlib.converter.FastJsonConverterFactory
import retrofit2.Converter


/**
 *  创建者 zx
 *  创建时间 2021/4/12 16:47
 */
abstract class V2ConventionPresenter<V : BaseView>(view:V) : BasicsPresenter<V,V2ServiceApi>(view) {

    override fun preModel(): Class<V2ServiceApi> {
        return V2ServiceApi::class.java
    }

    override fun converterFactory(): Converter.Factory {
        return FastJsonConverterFactory()
    }
}